# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python2-mulpyplexer
_pkgname=mulpyplexer
pkgver=0.09
pkgrel=3
pkgdesc='Multiplex interactions with lists of python objects.'
arch=('any')
url='https://pypi.org/project/mulpyplexer/#files'
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('2621d02072c4233b4a48e2fad3ae7ad212e91015cd1fd3e82d016ca20ea8c339e1eaa4fa32f3f76ae9337ee07170029c23d0ffe86ecee18aa41dc58ed1ebdb28')

build() {
  cd "$_pkgname-$pkgver"

  python2 setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

